package com.caregiver.watch.business.care.model.vo;

import com.caregiver.watch.business.care.enums.HeartRateResultEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Description: 房颤数据详情vo
 * @Author 疆戟
 * @Date 2025/11/1 21:58
 * @Version 1.0
 */
@Data
@Schema(description = "房颤数据详情vo")
public class HeartRriDetailDataVo {


    /**
     * 检查结果
     */
    @Schema(description = "检查结果")
    private HeartRateResultEnum checkResult;


    /**
     * rri列表
     */
    @Schema(description = "rri列表")
    private List<Integer> rriList;

    public static HeartRriDetailDataVo build(HeartRateResultEnum checkResult, List<Integer> rriList) {
        HeartRriDetailDataVo vo = new HeartRriDetailDataVo();
        vo.setCheckResult(checkResult);
        vo.setRriList(rriList);
        return vo;
    }
}
